package com.hfxt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

import javax.sql.DataSource;

@SpringBootApplication
//持久层mapper接口的位置
@MapperScan("com.hfxt.mapper")
//开启缓存管理
//@EnableCaching
//取消自动配置
//@EnableAutoConfiguration(exclude = DataSource.class)
public class
SpringbootDemoMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootDemoMybatisApplication.class, args);
    }

}
